package com.sena.crawler.domian;

import java.io.Serializable;
import java.util.Date;
import java.util.Set;

/**
 * @author Admin
 */
public class DeathLink extends BaseLink implements Serializable {

    private static final long serialVersionUID = -5251849782546612979L;
    private Integer cnt_slink;
    private Set<String> slinks;


    public Integer getCnt_slink() {
        return cnt_slink;
    }

    public void setCnt_slink(Integer cnt_slink) {
        this.cnt_slink = cnt_slink;
    }

    public Set<String> getSlinks() {
        return slinks;
    }

    public void setSlinks(Set<String> slinks) {
        this.slinks = slinks;
    }

    @Override
    public String toString() {
        return "DeathLink{" +
                "cnt_slink=" + cnt_slink +
                ", slinks=" + slinks +
                '}';
    }

    public DeathLink(Date scan_time, String scan_url, Integer cnt_slink, Set<String> slinks) {
        super(scan_time, scan_url);
        this.cnt_slink = cnt_slink;
        this.slinks = slinks;
    }

    public DeathLink(Integer cnt_slink, Set<String> slinks) {
        this.cnt_slink = cnt_slink;
        this.slinks = slinks;
    }
}
